<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="cache-control" content="no-cache" />        
        <link rel="SHORTCUT ICON" href="<?php echo templateUrl() ?>/images/gds.ico"/>
        <title><?php echo $meta[AppContants::META_TITLE]; ?></title>
        <?php
        foreach ((array) $layout[AppContants::LAYOUT_CSS] as $cssFile) {
            echo "<link href='" . templateUrl() . "css/{$cssFile}.css' rel='stylesheet' type='text/css' media='screen' />\n";
        }
        ?>
        <?php
        foreach ((array) $layout[AppContants::LAYOUT_JS] as $jsFile) {
            echo "<script src='" . templateUrl() . "js/{$jsFile}.js' type='text/javascript'></script>\n";
        }
        ?>    
        
    </head>

    <body class="<?php echo !empty($ishome) ? $ishome : ''; ?>">
        <?php $this->load->view('header'); ?>
        <?php $this->load->view('main-content'); ?>   
        <?php $this->load->view('footer'); ?>

    </body>
</html>
